#!/usr/bin/env python
# -*- coding: utf-8 -*-
from settings import SETTING_CONF

DEBUG = True

# configuration page num
PER_PAGE = 10

# configuration mysql
SQLALCHEMY_DATABASE_URI = "mysql://%s:%s@%s/%s" % ('root', '123456', '127.0.0.1', 'pitaya')

SECRET_KEY = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT'

UPLOAD_FOLDER = './static/upload/'
ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])

RECAPTCHA_PUBLIC_KEY = '6Ld4rwITAAAAAKUD5AntlHi7HL36W2vHJQOIjQmA'
RECAPTCHA_PRIVATE_KEY = '6Ld4rwITAAAAAFE8nTS852QbsqCBx1mN8D4BqenE'
SQLALCHEMY_TRACK_MODIFICATIONS = False

MyConfDict = {}
MyConfDict.update(SETTING_CONF)
MyConfObj = type('pitaya', (object,), MyConfDict)